package com.webserver.test;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class URLDemo {
    public static void main(String[] args) {
        String line = "username=%E8%91%A3%E5%A4%A7%E8%91%B1&password=1";
        try {
            line = URLDecoder.decode(line,"UTF-8");
            System.out.println(line);
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
    }
}
